/** When your routing table is too long, you can split it into small modules**/

import Layout from '@/layout'

const realTimeAccount = {
  path: '/realTimeAccount',
  component: Layout,
  redirect: 'noRedirect',
  name: '实时对账',
  meta: {
    title: '实时对账',
    icon: 'people',
    roles: ['/realTimeAccount/realTimeRecord', '/realTimeAccount/paySceneRecord', '/realTimeAccount/hisSystemRecord']
  },
  children: [
    {
      path: 'hisSystemRecord',
      component: () => import('@/views/realTimeAccount/hisSystemRecord/index'),
      name: 'HisSystemRecord',
      meta: { title: 'HIS系统当日记录', roles: ['/realTimeToAccount/hisSystemRecord'] }
    },
    {
      path: 'paySceneRecord',
      component: () => import('@/views/realTimeAccount/paySceneRecord/index'),
      name: 'PaySceneRecord',
      meta: { title: '支付场景当日记录', roles: ['/realTimeToAccount/paySceneRecord'] }
    },
    {
      path: 'realTimeRecord',
      component: () => import('@/views/realTimeAccount/realTimeRecord/index'),
      name: 'RealTimeRecord',
      meta: { title: '实时对账', roles: ['/realTimeToAccount/realTimeRecord'] }
    }
  ]
}
export default realTimeAccount
